﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1.基础.算法
{
    class 随机数
    {

        public static void GetSuijishu()
        {
            Random ra = new Random();
            int i = ra.Next(1,10);
            Console.WriteLine(i.ToString());

        }
    }
}
